﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020005B5 RID: 1461
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishSectionIdCsReq : IMessage<FinishSectionIdCsReq>, IMessage, IEquatable<FinishSectionIdCsReq>, IDeepCloneable<FinishSectionIdCsReq>, IBufferMessage
	{
		// Token: 0x170012B6 RID: 4790
		// (get) Token: 0x060041AC RID: 16812 RVA: 0x000B35F0 File Offset: 0x000B17F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishSectionIdCsReq> Parser
		{
			get
			{
				return FinishSectionIdCsReq._parser;
			}
		}

		// Token: 0x170012B7 RID: 4791
		// (get) Token: 0x060041AD RID: 16813 RVA: 0x000B35F7 File Offset: 0x000B17F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishSectionIdCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170012B8 RID: 4792
		// (get) Token: 0x060041AE RID: 16814 RVA: 0x000B3609 File Offset: 0x000B1809
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishSectionIdCsReq.Descriptor;
			}
		}

		// Token: 0x060041AF RID: 16815 RVA: 0x000B3610 File Offset: 0x000B1810
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishSectionIdCsReq()
		{
		}

		// Token: 0x060041B0 RID: 16816 RVA: 0x000B3618 File Offset: 0x000B1818
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishSectionIdCsReq(FinishSectionIdCsReq other) : this()
		{
			this.sectionId_ = other.sectionId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060041B1 RID: 16817 RVA: 0x000B363D File Offset: 0x000B183D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishSectionIdCsReq Clone()
		{
			return new FinishSectionIdCsReq(this);
		}

		// Token: 0x170012B9 RID: 4793
		// (get) Token: 0x060041B2 RID: 16818 RVA: 0x000B3645 File Offset: 0x000B1845
		// (set) Token: 0x060041B3 RID: 16819 RVA: 0x000B364D File Offset: 0x000B184D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SectionId
		{
			get
			{
				return this.sectionId_;
			}
			set
			{
				this.sectionId_ = value;
			}
		}

		// Token: 0x060041B4 RID: 16820 RVA: 0x000B3656 File Offset: 0x000B1856
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishSectionIdCsReq);
		}

		// Token: 0x060041B5 RID: 16821 RVA: 0x000B3664 File Offset: 0x000B1864
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishSectionIdCsReq other)
		{
			return other != null && (other == this || (this.SectionId == other.SectionId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060041B6 RID: 16822 RVA: 0x000B3694 File Offset: 0x000B1894
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.SectionId != 0U)
			{
				num ^= this.SectionId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060041B7 RID: 16823 RVA: 0x000B36D3 File Offset: 0x000B18D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060041B8 RID: 16824 RVA: 0x000B36DB File Offset: 0x000B18DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060041B9 RID: 16825 RVA: 0x000B36E4 File Offset: 0x000B18E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.SectionId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.SectionId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060041BA RID: 16826 RVA: 0x000B3718 File Offset: 0x000B1918
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.SectionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SectionId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060041BB RID: 16827 RVA: 0x000B3756 File Offset: 0x000B1956
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishSectionIdCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.SectionId != 0U)
			{
				this.SectionId = other.SectionId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060041BC RID: 16828 RVA: 0x000B3787 File Offset: 0x000B1987
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060041BD RID: 16829 RVA: 0x000B3790 File Offset: 0x000B1990
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.SectionId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040019CD RID: 6605
		private static readonly MessageParser<FinishSectionIdCsReq> _parser = new MessageParser<FinishSectionIdCsReq>(() => new FinishSectionIdCsReq());

		// Token: 0x040019CE RID: 6606
		private UnknownFieldSet _unknownFields;

		// Token: 0x040019CF RID: 6607
		public const int SectionIdFieldNumber = 1;

		// Token: 0x040019D0 RID: 6608
		private uint sectionId_;
	}
}
